package com.example.beautymakeup.domain;

/*
* 状态码
* */
public class Code {
//    登陆过期
    public static final Integer LOGIN_ERR = 10010;
    public static final Integer LOGIN_OK = 10011;

//    增删改查成功失败状态码
    public static final Integer SAVE_OK = 20011;
    public static final Integer DELETE_OK = 20021;
    public static final Integer UPDATE_OK = 20031;
    public static final Integer GET_OK = 20041;

    public static final Integer SAVE_ERR = 20010;
    public static final Integer DELETE_ERR = 20020;
    public static final Integer UPDATE_ERR = 20030;
    public static final Integer GET_ERR = 20040;

//    发送接受消息成功失败状态码
    public static final Integer SEND_OK = 30011;
    public static final Integer RECEIVE_OK = 30021;

    public static final Integer SEND_ERR = 30010;
    public static final Integer RECEIVE_ERR = 30020;

    public static final Integer SYSTEM_ERR = 50001;
    public static final Integer SYSTEM_TIMEOUT_ERR = 50002;
    public static final Integer SYSTEM_UNKNOWN_ERR = 59999;
    public static final Integer BUSINESS_ERR = 60001;
}
